import { createRouter, createWebHashHistory } from 'vue-router'
const routes = [
  {
    name: 'home',
    path: '/home',
    component: () => import('../views/Home.vue'),
  },
  {
    name: 'geometry',
    path: '/geometry',
    component: () => import('../components/几何体.vue'),
  },
  {
    name: 'material',
    path: '/material',
    component: () => import('../components/材质.vue'),
  },
]

const router = createRouter({
  history: createWebHashHistory(),
  routes,
})

export default router
